﻿<!DOCTYPE html>
<html lang="en"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
    <link rel="stylesheet" href="./css/login.css">
</head>

<body>
<div class="login">
    <div class="login_title">
        <p><img src="/images/logo.png" style="width:80px;height:80px;margin-right:30px;"/>Baby堂小儿推拿后台管理系统</p>
    </div>
    <div class="login_main">
        <div class="main_left"></div>
        <div class="main_right">
            <div class="right_titleLogin">用户登录</div>
            <!--输出错误信息-->
            <h3 th:text="${masg}" th:if="${not #strings.isEmpty(masg)}"
                style="color: red; margin-left: 60px;font-weight: bold"></h3>
            <form th:action="@{/userLogin}"  th:method="post" action="/user/userLogin" method="post">
                <div class="username">
                    <img src="./images/username.png" alt="">
                    <input type="text" placeholder="请输入用户名"  name="username">
                </div>
                <div class="password">
                    <img src="./images/password.png" alt="">
                    <input type="password" placeholder="请输入密码"  name="password">
                </div>
                
                <div class="yes_login">
                    <!--<a type="submit">登&nbsp;&nbsp;&nbsp;&nbsp;录</a>-->
                    <button  id="entry_btn" type="submit">登录</button>
                </div>
                <div>
                    <a style="margin-left: 60px;margin-top:15px;color: #0064c8" th:href="@{/registerpage}">注册</a>
                    <a style="margin-left: 120px;margin-top:15px;color: #0064c8">忘记密码</a>
                </div>
            </form>
        </div>
    </div>

</div>

</body>
</html>